package com.liuym.admin.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author LiuYiMing
 * @date 2018/10/23 14:13
 * @describe：OSS相关配置
 */
@Component
public class OssProperties {

    @Value("${oss.bucket}")
    public String bucketName;
    @Value("${oss.endpoint}")
    public String endpoint;
    @Value("${oss.accessKeyId}")
    public String accessKeyId;
    @Value("${oss.accessKeySecret}")
    public String accessKeySecret;

}
